
package Hoja07;

import org.junit.*;
import static org.junit.Assert.*;

public class HeapClassTest {
    
    public HeapClassTest() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of insert method, of class HeapClass.
     */
    @Test
    public void testInsert() {
        System.out.println("insert");
        Nodo a = new Nodo();
        int num = 5;
        HeapClass b = new HeapClass(num);
        Nodo coso = a;
        HeapClass instance = b;
        instance.insert(coso);
        // TODO review the generated test code and remove the default call to fail.
  //      fail("The test case is a prototype.");
    }

    /**
     * Test of remove method, of class HeapClass.
     */
    @Test
    public void testRemove_0args() {
        System.out.println("remove");
        int num = 5;
        HeapClass b = new HeapClass(num);
        Nodo a = new Nodo();
        HeapClass instance = b;
        Nodo expResult = a;
//        Nodo result = instance.remove();
//        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of remove method, of class HeapClass.
     */
    @Test
    public void testRemove_Nodo() {
        System.out.println("remove");
        int num = 5;
        HeapClass b = new HeapClass(num);
        Nodo a = new Nodo();
        Nodo nodo = a;
        HeapClass instance = b;
        Nodo expResult = a;
        Nodo result = instance.remove(nodo);
//        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }

    /**
     * Test of seeFirst method, of class HeapClass.
     */
    @Test
    public void testSeeFirst() {
        System.out.println("seeFirst");
        int num = 1;
        HeapClass b = new HeapClass(num);
        Nodo a = new Nodo();
        HeapClass instance = b;
        Nodo expResult = a;
 //       Nodo result = instance.seeFirst();
 //       assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
//        fail("The test case is a prototype.");
    }

    /**
     * Test of getAmount method, of class HeapClass.
     */
    @Test
    public void testGetAmount() {
        System.out.println("getAmount");
        int num = 5;
        HeapClass b = new HeapClass(num);
        Nodo a = new Nodo();
        HeapClass instance = b;
        int expResult = 0;
        int result = instance.getAmount();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }

    /**
     * Test of getNodo method, of class HeapClass.
     */
    @Test
    public void testGetNodo() {
        System.out.println("getNodo");
        int num = 5;
        HeapClass b = new HeapClass(num);
        Nodo a = new Nodo();
        Nodo nodo = a;
        HeapClass instance = b;
        Nodo expResult = a;
        Nodo result = instance.getNodo(nodo);
  //      assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
 //       fail("The test case is a prototype.");
    }
}
